package cn.iocoder.yudao.module.erp.controller.admin.business.produce.produceprocess.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

@Schema(description = "管理后台 - 工序 Response VO")
@Data
@ExcelIgnoreUnannotated
public class ProduceProcessRespVO {

    @Schema(description = "工序编号", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("工序编号")
    private Long id;

    @Schema(description = "工序编号", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("工序编号")
    private String code;

    @Schema(description = "工序名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "李四")
    @ExcelProperty("工序名称")
    private String name;

    @Schema(description = "工作中心编号")
    @ExcelProperty("工作中心编号")
    private String workCode;

    @Schema(description = "工作中心名称", example = "赵六")
    @ExcelProperty("工作中心名称")
    private String workName;

    @Schema(description = "单位工时产能")
    @ExcelProperty("单位工时产能")
    private Integer productivity;

    @Schema(description = "自动完工")
    @ExcelProperty("自动完工")
    private Integer completeFlag;

    @Schema(description = "交接确认")
    @ExcelProperty("交接确认")
    private Integer confirmFlag;

    @Schema(description = "设备必选")
    @ExcelProperty("设备必选")
    private Integer equipFlag;

    @Schema(description = "是否免检")
    @ExcelProperty("是否免检")
    private Integer exemptionFlag;

    @Schema(description = "报工限制")
    @ExcelProperty("报工限制")
    private Integer countLimit;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

}